import type { Component } from 'vue'
import type * as controls from '../controls'

type Controls = keyof typeof controls

export interface SettingType {
  name: string
  title: string
  control?: Controls | Component
  items?: SettingType[]
  props?: Record<string, any>
};

export interface SettingProps {
  settings: SettingType[]
}
